export class CourseListReq {
  nsId: number = 143733;
  cateId: number = 7393;
  pageSize: number = 20;
  readonly pageNum: number

  constructor(pageNum: number) {
    this.pageNum = pageNum;
  }

}
export interface CourseListResp {
  code: number;
  message: string;
  data: CourseData;
  total: number;
}

export interface CourseData {
  contentList: CourseContentList[]
}

export interface CourseContentList {
  courseId: string,
  createdAt: string,
  description: string,
  duration: number,
  ext: CourseExt,
  lecturerId: number,
  lessonCount: number,
  resourceType: number,
  title: string,
  type: number,
  views: number
}

export interface CourseExt {
  cover: string,
  targetUrl: string
}